'use strict';

module.exports = app => {
  const { router, controller } = app;

  // 登录
  router.get('/login', controller.user.loginPage);
  // 注册
  router.get('/register', controller.user.registerPage);
  router.get('/setting', app.middleware.loginChecks.loginCheck, controller.user.settingPage);
};
